<template>
  <div class="my_div">
    <img :src="arr.dogImgUrl" alt="" />
    <p>
      {{ arr.dogName }}
    </p>
  </div>
</template>

<script>
export default {
  props: ["arr"],
};
</script>

<style>
.my_div {
  width: 400px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.my_div img {
  width: 100%;
  height: 380px;
}
</style>